package com.spzx.order.api;

import org.springframework.cloud.openfeign.FallbackFactory;

public class RemoteOrderServiceFactory implements FallbackFactory<RemoteOrderService> {
    @Override
    public RemoteOrderService create(Throwable cause) {
        throw new RuntimeException("远程调用订单服务失败");
    }
}
